package com.example.user_service.otherservice;

import com.example.user_service.vo.Red;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author XiaoLiu
 * @date 2021-12-21 23:34
 **/
@Component
@FeignClient(name = "ACTIVITYSERVICE")
public interface ActivityService
{
    //查未使用红包
    @RequestMapping("/chahb")
    List<Red> searchhb(@RequestParam("users")int users);
}
